local clsSwordmanAttackLight = Class("lua/game/combat/clsLight.lua"):Inherit()

------------------------------public------------------------------
------------------------------------------------------------------

function getClass()
	return clsSwordmanAttackLight
end


------------------------------private-----------------------------
------------------------------------------------------------------

function clsSwordmanAttackLight:init(args)
	
	self.armatureTable = {
		[1] = "physical_1",
		[2] = "physical_2",
		[3] = "physical_3",
		[4] = "physical_4",
	}
	self.armatureIndex = 1
	local function attackLightEvent(eventType, movementType, movementID)
		if eventType == "animationEvent" then
			if movementType == 1 then
				self:setVisible(false)
			end
		end
	end
	self.curAnimate.event = attackLightEvent
	self.curAnimate:addMovementEventCallFunc()
end


